package com.caac.core.web.form;

import java.util.Date;

import com.caac.core.util.DateUtils;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright 2004</p>
 * <p>Company: </p>
 * @author <a href="mailto:lianzs@caac.com.cn">lianzs</a>
 * @version 1.0
 */

public class SysLogDeleteForm extends BaseForm {
    private Date operateTime;
    private String operateTimeString;

    public SysLogDeleteForm() {
        this.operateTimeString = DateUtils.convertToString(new Date());
    }

    public Date getOperateTime() {
        return operateTime;
    }

    public String getOperateTimeString() {
        return operateTimeString;
    }

    public void setOperateTimeString(String operateTimeString) {
        try {
            this.operateTime = DateUtils.convertToDate(operateTimeString);
        } catch (Exception e) {
            this.operateTime = null;
        }
        this.operateTimeString = operateTimeString;
    }
}
